package vashion.azeroth.core.common;

/**
 * Created by tingting on 15/9/5.
 */

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by tingting on 15/9/5.
 * 权限注解
 * <p/>
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface NeedPermission {


    /**
     * 操作者id位置
     *
     * @return
     */
    int operateIdArgLocation() default 0;


}
